<div class="spec_item" id="spec_<{$spec['id']}>">
	<input name="spec_id[]" class="spec_id" type="hidden" value="<{$spec['id']}>"/>
	<div class="form-group">
		<label class="col-md-1 control-label" for="title">规格名称</label>
		<div class="col-md-2">
			<input type="text"
            class="form-control spec_title"
			name="spec_title[<{$spec['id']}>]"
			id="spec_title[<{$spec['id']}>]"
			placeholder="如：颜色、口味等"
			data-rule-required="true"
			/>
		</div>
	</div>

	<div class="form-group">
		<label class="col-md-1 control-label" for="title">规格项</label>
		<div class="col-md-10">
			<div class="row spec_item_items" id="spec_item_<{$spec['id']}>">
				<{$item}>
			</div>				
		</div>
	</div>

	<div class="form-group">
		<div class="col-md-11 col-sm-offset-1">
			<button type="button" class="btn btn-info" id="add-specitem-<{$spec['id']}>" specid="<{$spec['id']}>" onclick="addSpecItem('<{$spec['id']}>')">添加项</button>
			<button type="button" class="btn btn-info" onclick="removeSpec('<{$spec['id']}>')">删除规格</button>
		</div>
	</div>
</div>